package com.virgo.demo.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.virgo.mysql.domain.BaseDo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("admin_user")
public class AdminUserDo extends BaseDo {

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@TableField("admin_name")
	private String adminName;

	@TableField("nick_name")
	private String nickName;

	@TableField("pwd_salt")
	private String pwdSalt;

	@TableField("login_pwd")
	private String loginPwd;

	@TableField("login_num")
	private Integer loginNum;

	@TableField("last_login_at")
	private Long lastLoginAt;

	@TableField("last_login_ip")
	private String lastLoginIp;

	@TableField("status")
	private Integer status;

	@TableField("role_id")
	private Long roleId;
}